Adaptive posture-balance cardiac rehabilitation exercise